<div class="studentinfos view">
<?php debug ($studentinfo);?>
<h2><?php  __('Studentinfo');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $studentinfo['Studentinfo']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Student'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $html->link($studentinfo['Student']['id'], array('controller' => 'students', 'action' => 'view', $studentinfo['Student']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Gender'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $html->link($studentinfo['Gender']['name'], array('controller' => 'genders', 'action' => 'view', $studentinfo['Gender']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Citizenship'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $html->link($studentinfo['Citizenship']['name'], array('controller' => 'citizenships', 'action' => 'view', $studentinfo['Citizenship']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Region'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $html->link($studentinfo['Region']['name'], array('controller' => 'regions', 'action' => 'view', $studentinfo['Region']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Educationdoctype'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $html->link($studentinfo['Educationdoctype']['name'], array('controller' => 'educationdoctypes', 'action' => 'view', $studentinfo['Educationdoctype']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Foreignlanguage'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $html->link($studentinfo['Foreignlanguage']['name'], array('controller' => 'foreignlanguages', 'action' => 'view', $studentinfo['Foreignlanguage']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Enrollment Date'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $studentinfo['Studentinfo']['enrollment_date']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Lastname'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $studentinfo['Studentinfo']['lastname']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Firstname'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $studentinfo['Studentinfo']['firstname']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Surname'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $studentinfo['Studentinfo']['surname']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Birthdate'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $studentinfo['Studentinfo']['birthdate']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Passport Ser'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $studentinfo['Studentinfo']['passport_ser']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Passport Num'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $studentinfo['Studentinfo']['passport_num']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Passport Data'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $studentinfo['Studentinfo']['passport_data']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Passport Birth Place'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $studentinfo['Studentinfo']['passport_birth_place']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Passport Adress'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $studentinfo['Studentinfo']['passport_adress']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Adress'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $studentinfo['Studentinfo']['adress']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Schoolgraduated'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $studentinfo['Studentinfo']['schoolgraduated']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Educationdocdata'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $studentinfo['Studentinfo']['educationdocdata']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Phone'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $studentinfo['Studentinfo']['phone']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Mobile'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $studentinfo['Studentinfo']['mobile']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Email'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $studentinfo['Studentinfo']['email']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Inn'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $studentinfo['Studentinfo']['inn']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Insurance'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $studentinfo['Studentinfo']['insurance']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Pension Certificate'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $studentinfo['Studentinfo']['pension_certificate']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Inoculations'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $studentinfo['Studentinfo']['inoculations']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Moreinfo'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $studentinfo['Studentinfo']['moreinfo']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Created'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $studentinfo['Studentinfo']['created']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Modified'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $studentinfo['Studentinfo']['modified']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<ul>
		<li><?php echo $html->link(__('Edit Studentinfo', true), array('action' => 'edit', $studentinfo['Studentinfo']['id'])); ?> </li>
		<li><?php echo $html->link(__('Delete Studentinfo', true), array('action' => 'delete', $studentinfo['Studentinfo']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $studentinfo['Studentinfo']['id'])); ?> </li>
		<li><?php echo $html->link(__('List Studentinfos', true), array('action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Studentinfo', true), array('action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('List Students', true), array('controller' => 'students', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Student', true), array('controller' => 'students', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('List Genders', true), array('controller' => 'genders', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Gender', true), array('controller' => 'genders', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('List Citizenships', true), array('controller' => 'citizenships', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Citizenship', true), array('controller' => 'citizenships', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('List Regions', true), array('controller' => 'regions', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Region', true), array('controller' => 'regions', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('List Educationdoctypes', true), array('controller' => 'educationdoctypes', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Educationdoctype', true), array('controller' => 'educationdoctypes', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('List Foreignlanguages', true), array('controller' => 'foreignlanguages', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Foreignlanguage', true), array('controller' => 'foreignlanguages', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('List Babies', true), array('controller' => 'babies', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Baby', true), array('controller' => 'babies', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('List Contracts', true), array('controller' => 'contracts', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Contract', true), array('controller' => 'contracts', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('List Mates', true), array('controller' => 'mates', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Mate', true), array('controller' => 'mates', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('List Relatives', true), array('controller' => 'relatives', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Relative', true), array('controller' => 'relatives', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('List Targetingintakes', true), array('controller' => 'targetingintakes', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Targetingintake', true), array('controller' => 'targetingintakes', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('List Privileges', true), array('controller' => 'privileges', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Privilege', true), array('controller' => 'privileges', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php __('Related Babies');?></h3>
	<?php if (!empty($studentinfo['Baby'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Studentinfo Id'); ?></th>
		<th><?php __('Birthdate'); ?></th>
		<th><?php __('Info'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($studentinfo['Baby'] as $baby):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $baby['id'];?></td>
			<td><?php echo $baby['studentinfo_id'];?></td>
			<td><?php echo $baby['birthdate'];?></td>
			<td><?php echo $baby['info'];?></td>
			<td class="actions">
				<?php echo $html->link(__('View', true), array('controller' => 'babies', 'action' => 'view', $baby['id'])); ?>
				<?php echo $html->link(__('Edit', true), array('controller' => 'babies', 'action' => 'edit', $baby['id'])); ?>
				<?php echo $html->link(__('Delete', true), array('controller' => 'babies', 'action' => 'delete', $baby['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $baby['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $html->link(__('New Baby', true), array('controller' => 'babies', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Contracts');?></h3>
	<?php if (!empty($studentinfo['Contract'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Studentinfo Id'); ?></th>
		<th><?php __('Data'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($studentinfo['Contract'] as $contract):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $contract['id'];?></td>
			<td><?php echo $contract['studentinfo_id'];?></td>
			<td><?php echo $contract['data'];?></td>
			<td class="actions">
				<?php echo $html->link(__('View', true), array('controller' => 'contracts', 'action' => 'view', $contract['id'])); ?>
				<?php echo $html->link(__('Edit', true), array('controller' => 'contracts', 'action' => 'edit', $contract['id'])); ?>
				<?php echo $html->link(__('Delete', true), array('controller' => 'contracts', 'action' => 'delete', $contract['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $contract['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $html->link(__('New Contract', true), array('controller' => 'contracts', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Mates');?></h3>
	<?php if (!empty($studentinfo['Mate'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Studentinfo Id'); ?></th>
		<th><?php __('Matestatus Id'); ?></th>
		<th><?php __('Fio'); ?></th>
		<th><?php __('Passport Data'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($studentinfo['Mate'] as $mate):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $mate['id'];?></td>
			<td><?php echo $mate['studentinfo_id'];?></td>
			<td><?php echo $mate['matestatus_id'];?></td>
			<td><?php echo $mate['fio'];?></td>
			<td><?php echo $mate['passport_data'];?></td>
			<td class="actions">
				<?php echo $html->link(__('View', true), array('controller' => 'mates', 'action' => 'view', $mate['id'])); ?>
				<?php echo $html->link(__('Edit', true), array('controller' => 'mates', 'action' => 'edit', $mate['id'])); ?>
				<?php echo $html->link(__('Delete', true), array('controller' => 'mates', 'action' => 'delete', $mate['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $mate['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $html->link(__('New Mate', true), array('controller' => 'mates', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Relatives');?></h3>
	<?php if (!empty($studentinfo['Relative'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Relativestype Id'); ?></th>
		<th><?php __('Studentinfo Id'); ?></th>
		<th><?php __('Passport Data'); ?></th>
		<th><?php __('Fio'); ?></th>
		<th><?php __('Job'); ?></th>
		<th><?php __('Jobstatus'); ?></th>
		<th><?php __('Phone'); ?></th>
		<th><?php __('Mobile'); ?></th>
		<th><?php __('Email'); ?></th>
		<th><?php __('Adress'); ?></th>
		<th><?php __('Created'); ?></th>
		<th><?php __('Modified'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($studentinfo['Relative'] as $relative):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $relative['id'];?></td>
			<td><?php echo $relative['relativestype_id'];?></td>
			<td><?php echo $relative['studentinfo_id'];?></td>
			<td><?php echo $relative['passport_data'];?></td>
			<td><?php echo $relative['fio'];?></td>
			<td><?php echo $relative['job'];?></td>
			<td><?php echo $relative['jobstatus'];?></td>
			<td><?php echo $relative['phone'];?></td>
			<td><?php echo $relative['mobile'];?></td>
			<td><?php echo $relative['email'];?></td>
			<td><?php echo $relative['adress'];?></td>
			<td><?php echo $relative['created'];?></td>
			<td><?php echo $relative['modified'];?></td>
			<td class="actions">
				<?php echo $html->link(__('View', true), array('controller' => 'relatives', 'action' => 'view', $relative['id'])); ?>
				<?php echo $html->link(__('Edit', true), array('controller' => 'relatives', 'action' => 'edit', $relative['id'])); ?>
				<?php echo $html->link(__('Delete', true), array('controller' => 'relatives', 'action' => 'delete', $relative['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $relative['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $html->link(__('New Relative', true), array('controller' => 'relatives', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Targetingintakes');?></h3>
	<?php if (!empty($studentinfo['Targetingintake'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Studentinfo Id'); ?></th>
		<th><?php __('Region Id'); ?></th>
		<th><?php __('Info'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($studentinfo['Targetingintake'] as $targetingintake):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $targetingintake['id'];?></td>
			<td><?php echo $targetingintake['studentinfo_id'];?></td>
			<td><?php echo $targetingintake['region_id'];?></td>
			<td><?php echo $targetingintake['info'];?></td>
			<td class="actions">
				<?php echo $html->link(__('View', true), array('controller' => 'targetingintakes', 'action' => 'view', $targetingintake['id'])); ?>
				<?php echo $html->link(__('Edit', true), array('controller' => 'targetingintakes', 'action' => 'edit', $targetingintake['id'])); ?>
				<?php echo $html->link(__('Delete', true), array('controller' => 'targetingintakes', 'action' => 'delete', $targetingintake['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $targetingintake['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $html->link(__('New Targetingintake', true), array('controller' => 'targetingintakes', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Privileges');?></h3>
	<?php if (!empty($studentinfo['Privilege'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Name'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($studentinfo['Privilege'] as $privilege):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $privilege['id'];?></td>
			<td><?php echo $privilege['name'];?></td>
			<td class="actions">
				<?php echo $html->link(__('View', true), array('controller' => 'privileges', 'action' => 'view', $privilege['id'])); ?>
				<?php echo $html->link(__('Edit', true), array('controller' => 'privileges', 'action' => 'edit', $privilege['id'])); ?>
				<?php echo $html->link(__('Delete', true), array('controller' => 'privileges', 'action' => 'delete', $privilege['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $privilege['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $html->link(__('New Privilege', true), array('controller' => 'privileges', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
